#include "DefaultLogger.h"
#include "UIInitialization.h"
#include "DefaultPersistStorage.h"

int main(int argc, char *const argv[])
{
    std::shared_ptr<MyLogger> logger(new DefaultLogger);
    std::shared_ptr<PersistStorage> config(new DefaultPersistStorage("config"));
    InitializeInstructions(logger, config);
    if (argc < 2) {
        EnterTuiMode();
    } else {
        EnterInvokeMode(argc, argv);
    }
    return 0;
}
